package com.csp.dp.lsp;

/**
 * @author Strive
 * @date 2024/1/31 17:02
 */
public class Test {
    public static void main(String[] args) {
        Hamster hamster = new Hamster();
        // 老鼠生的会打洞
        hamster.burrow();

        ToyMouse toyMouse = new ToyMouse();
        // 老鼠生的不会打洞，会上天，就违背了该原则
        toyMouse.burrow();
    }
}
